Skip to content

ci: stop deploying the docs to GitHub Pages - #265

Merged
MathiasVDA merged 9 commits into
mainfrom
claude/project-thread-dvin92
Nov 26, 2026
Merged

MathiasVDA merged 9 commits into
mainfrom
claude/project-thread-dvin92

Conversation

@MathiasVDA

@MathiasVDA MathiasVDA commented Nov 26, 2026 •

Copy link
Copy Markdown
Collaborator

matgui-doc.matdata.eu is now served from the matgui-doc Cloudflare Pages project (custom domain and DNS switched), so this removes deploy-pages.yml and updates the hosting line in the README. Docs and the /dev/main app build keep deploying through deploy-cloudflare.yml.

Adds a workflow that builds the site on every branch push and deploys it
with wrangler to the Cloudflare Pages project named after the repository.
main is the production deployment, other branches get a preview alias.
The job skips itself while the Cloudflare secrets are missing. The GitHub
Pages workflow stays in place until the switch is confirmed.
The Cloudflare API can fail the create call with code 8000000, which
left the project missing and the deploy failing.
Cloudflare Pages projects can't be renamed, so the workflows now use the
project name matgui-doc instead of the repository name. The project is
created on the next push; the old matgui project can then be deleted.
# Conflicts:
#	.github/workflows/cleanup-cloudflare-previews.yml
matgui-doc.matdata.eu is now served from the matgui-doc Cloudflare Pages
project, so the GitHub Pages workflow is no longer needed.

@MathiasVDA MathiasVDA left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review: OK to merge once the checks on ad1ab80 are green.

  • deploy-cloudflare.yml builds the same things the removed workflow did: the app with PUBLIC_PATH=/dev/main/, the Docusaurus site with the docs copied in, and the combined deployment folder. Nothing else in the repository refers to deploy-pages.yml.
  • The description mentions a README update, but the branch only removed the workflow and the README still said "hosted on GitHub Pages". Pushed ad1ab80 to change that line to Cloudflare Pages (CRLF kept).

Not part of this PR: the user and developer guides still link the chart and explain demos at matdata-eu.github.io; those need updating when the plugin demos leave GitHub Pages. GitHub Pages itself can be switched off in the repository settings after the merge.

The branch carries earlier merged commits and merge commits, so this goes in as a squash.


Generated by Claude Code

@MathiasVDA
MathiasVDA merged commit 36dc6dc into main Nov 26, 2026
3 checks passed

This branch was successfully deployed

1 active deployment
preview — ad1ab80d Deployed Nov 26, 2026 by github-actions[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant